package com.zilu.digitaltwin.dao.mapper;

import com.zilu.digitaltwin.entity.CatalogDetailBO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface CatalogDetailMapper {

    public CatalogDetailBO getCatalogDetailByCode(@Param("code") String code);

    Long insertCatalogDetail(CatalogDetailBO catalogDetailBO);

    Integer updateCatalogDetail(CatalogDetailBO catalogDetailBO);

    Integer deleteCatalogDetailByCode(@Param("code") String code);
}
